FROM openjdk:8
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY target/yyxx.jar /app/yyxx.jar
WORKDIR /app
EXPOSE 8888
ENTRYPOINT ["java","-jar","-Xms128M","-Xmx512M","-Dspring.profiles.active=prod","yyxx.jar"]

